package com.example.wod.retrofitdemo.Bean;

import java.util.List;

/**
 * Created by Wod on 2016/1/12.
 */
public class Discard_List {

    /**
     * code : SUCCESS
     * info : 查询成功！
     * data : [{"id":"738","nid":"0001-000738","add_time":"1451815704","end_time":"1454083200","uid":"25","type":"you","title":"于记香辣虾","details":"于记香辣虾9折优惠卷\r\n到期时间2016-1-30","amount":"9折","logo":"http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681214e9b890.jpg","background":"http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681215463819.jpg","combination":"","debris_count":"0","max_count":"0","type_id":"1","count":"10"}]
     */

    private String code;
    private String info;
    /**
     * id : 738
     * nid : 0001-000738
     * add_time : 1451815704
     * end_time : 1454083200
     * uid : 25
     * type : you
     * title : 于记香辣虾
     * details : 于记香辣虾9折优惠卷
     到期时间2016-1-30
     * amount : 9折
     * logo : http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681214e9b890.jpg
     * background : http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_5681215463819.jpg
     * combination :
     * debris_count : 0
     * max_count : 0
     * type_id : 1
     * count : 10
     */

    private List<DataEntity> data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String nid;
        private String add_time;
        private String end_time;
        private String uid;
        private String type;
        private String title;
        private String details;
        private String amount;
        private String logo;
        private String background;
        private String combination;
        private String debris_count;
        private String max_count;
        private String type_id;
        private String count;

        public void setId(String id) {
            this.id = id;
        }

        public void setNid(String nid) {
            this.nid = nid;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setDetails(String details) {
            this.details = details;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public void setBackground(String background) {
            this.background = background;
        }

        public void setCombination(String combination) {
            this.combination = combination;
        }

        public void setDebris_count(String debris_count) {
            this.debris_count = debris_count;
        }

        public void setMax_count(String max_count) {
            this.max_count = max_count;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getId() {
            return id;
        }

        public String getNid() {
            return nid;
        }

        public String getAdd_time() {
            return add_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public String getUid() {
            return uid;
        }

        public String getType() {
            return type;
        }

        public String getTitle() {
            return title;
        }

        public String getDetails() {
            return details;
        }

        public String getAmount() {
            return amount;
        }

        public String getLogo() {
            return logo;
        }

        public String getBackground() {
            return background;
        }

        public String getCombination() {
            return combination;
        }

        public String getDebris_count() {
            return debris_count;
        }

        public String getMax_count() {
            return max_count;
        }

        public String getType_id() {
            return type_id;
        }

        public String getCount() {
            return count;
        }
    }
}
